import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import {
  RoleV1AdminController,
} from './role.v1-admin.controller';
import { RoleModel } from './role.model';
import { RoleService } from './role.service';
import { RoleResourceModel } from "@/module/role-resource/role-resource.model";
import { AdminuserRoleModel } from "@/module/adminuser-role/adminuser-role.model";

@Module({
  imports: [TypeOrmModule.forFeature([
    RoleModel,
    RoleResourceModel,
    AdminuserRoleModel
  ])],
  controllers: [RoleV1AdminController],
  providers: [RoleService],
})
export class RoleModule {}
